import request from '@/utils/request'

export function GetRes (data) {
    return request({
        url: 'api/query/result',
        method: 'post',
        data
    })
}

export function GetSnoRes (data) {
    return request({
        url: 'api/query/resultSno',
        method: 'post',
        data
    })
}

export function GetPnoRes (data) {
    return request({
        url: 'api/query/resultPno',
        method: 'post',
        data
    })
}

export function GetCnoRes (data) {
    return request({
        url: 'api/query/resultCno',
        method: 'post',
        data
    })
}

export function AddRes (data) {
    return request({
        url: 'api/insert/result',
        method: 'post',
        data
    })
}

export function DelRes (data) {
    return request({
        url: 'api/delete/result',
        method: 'post',
        data
    })
}

export function SetRes(data) {
    return request({
        url: 'api/update/result',
        method: 'post',
        data
    })
}
